<template>
  <div id="right_lpgo">
    <div class="logo">
      <div class="logo_item" style="margin-top:-6px">
        <img src="../../assets/image/1_0_icon_dengluzhuce.png" alt />
        <span>登录注册</span>
      </div>
      <div class="logo_item">
        <img src="../../assets/image/1_0_icon_zaixianzixun.png" alt />
        <span>在线咨询</span>
      </div>
      <div class="logo_item">
        <img src="../../assets/image/1_0_icon_dianhuazixun.png" alt />
        <span>电话咨询</span>
      </div>
      <div class="logo_item_gouwu">
        <img src="../../assets/image/1_0_icon_gowuche.png" alt />
        <div class="gouwu_dot">{{ gouwunum }}</div>
        <span>购物车</span>
      </div>
      <div class="logo_item">
        <img src="../../assets/image/1_0_icon_erweima.png" alt />
        <span>小程序码</span>
      </div>
      <div class="logo_item">
        <img src="../../assets/image/1_0_icon_up.png" alt />
        <span>回到顶部</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      gouwunum: 12
    };
  }
};
</script>

<style lang="scss" scoped>
.logo {
  position: fixed;
  z-index: 10000;
  padding: 10px 4px;
  box-sizing: border-box;
  right: 0px;
  top: 220px;
  width: 56px;
  height: 364px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0px 1px 8px 0px rgba(45, 43, 44, 0.3);
}
.logo_item {
  cursor: pointer;
  height: 60px;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid rgba(179, 179, 179, 1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  img{
      width: 28px;
      height: 28px;

  }
}
.logo_item span {
  display: block;
  font-size: 10px;
  font-family: PingFang SC;
  font-weight: 500;
  color: rgba(77, 77, 77, 1);
}
.logo_item_gouwu {
  cursor: pointer;
  height: 60px;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid rgba(179, 179, 179, 1);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: relative;
  span{
    font-size: 10px;
  }
   img{
      width: 28px;
      height: 28px;

  }
}
.logo_item_gouwu .gouwu_dot {
  position: absolute;
  right: 4px;
  width: 14px;
  height: 14px;
  background: rgba(254, 44, 74, 1);
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  line-height: 14px;
  text-align: center;
}
</style>
